﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Hello World</title>

    <!-- CRM2013/2015 Styles -->
    <link href="../../sparkle_/css/2013/sparkle_jquery_ui.css" rel="stylesheet" />
    <link href="../../sparkle_/css/2013/sparkle.css" rel="stylesheet" />
  
</head>
<body class="sparkle-xrm">

    <!--ko template: { name: 'xrmPleaseWaitBlock', data: {isBusy : isBusy, isBusyProgress : isBusyProgress, isBusyMessage : isBusyMessage}} --><!--/ko-->
     
    <!-- Contact Editor Form-->
   <div  data-bind='validationOptions: { messageTemplate: "xrmControlValidationMessage" }' >
     <div data-bind="template: { name: 'sparkle-form-tab-header', data: { title: 'Hello World' } }"></div>
        

        <table class="sparkle-FormSection"
            columns="2" label="General" style="table-layout: fixed;" height="1%" valign="top"
            cellspacing="0" cellpadding="3">
            <colgroup>
                <col width="130">
                <col>
            </colgroup>
            <tbody>                     
                <tr valign="top">
                    <!--ko template: { name: 'sparkle-form-field', data: {
                        label: 'Message',
                        field:Message,
                        required:1,
                        type:'text',
                        disable:false,
                        visible:true } }-->
                    <!--/ko-->
                </tr>
            </table>
          
        
        <button class="dialogButton" data-bind="click: FooCommand">What time is it?</button>
      
   </div>


    <!-- Start of Scripts-->
    <script src="../../ClientGlobalContext.js.aspx" type="text/javascript"></script>
    
    <!-- Sparkle Xrm dependancies -->
    <script src="../../sparkle_/js/SparkleXrmUI_Dependancies.js"></script>
    
    <!-- Sparkle Xrm -->
    <script src="../../sparkle_/js/mscorlib.js" type="text/javascript"></script>
    <script src="../../sparkle_/js/SparkleXrm.js" type="text/javascript"></script>
    <script src="../../sparkle_/js/SparkleXrmUI.js" type="text/javascript"></script>

    <!-- Client Code -->
    <script src="../js/ClientUI.js" type="text/javascript"></script>
    <script type="text/javascript">

        ClientUI.View.HelloWorldView.Init();

    </script>
</body>
</html>
